package com.tristia.entity.util;

import java.util.Random;

public class RandomGenerator {
	
	public static int getRandomInt(int range) {
		Random rand = new Random(System.currentTimeMillis());
		return rand.nextInt(range);
	}
	
	public static int getRandomInt() {
		Random rand = new Random(System.currentTimeMillis());
		return rand.nextInt();
	}
	
	public static long getRandomLong() {
		Random rand = new Random(System.currentTimeMillis());
		return rand.nextLong();
	}
	
	public static double getRandomDouble() {
		Random rand = new Random(System.currentTimeMillis());
		return rand.nextDouble();
	}
}
